<template>
    <el-container>
        <el-aside width="20%">
            <el-container>
                <el-main>
                    MAIN
                </el-main>
            </el-container>
        </el-aside>
        <el-container>
            <el-header class="height_auto pdbt" style="text-align:left">操作配置</el-header>
            <el-main>
              <form-panel
                    ref="myForm"
                    templet="USER_MENU"
                    form-type="edit"
                    form-cols="1"
                    :beforesave="mangerform_beforesave"
                    :buttons="mangerformbuttons"
                    :data="mangerformdata"
                    :remote="remotFunc"
                    :aftersave="managerform_aftersave"
                />
            </el-main>           
        </el-container>
    </el-container>
</template>

<script>
import formpanel from '@/components/formpanel';
import request from '@/utils/requestutil';
export default {
  props:{
    // 接收，属性
  },
  components: {
    // 组件化开发
    'form-panel':formpanel,
  },
  data() {
    // 全局变量
    return {
        mangerformbuttons: ['save','reset'],//保存，重置按钮

    }
  },
  created() {
    // 初始化渲染
  },
  mounted(){
    // 组件渲染
  },
  watch: {
    // 监听事件
  },
  methods: {
    // 函数，点击事件
  }
};
</script>
<style scoped>
</style>
